$(function() {
  //Slideshow
  /*Product thumbnails Carousel*/
  /*
   * Diem
   */
  if(jQuery(".thumbnails").length) {
    jQuery('#product-thumbnails').carouFredSel({
      responsive: true,
      auto: false,
      width: '100%',
      prev: '#product-thumbnails-prev',
      next: '#product-thumbnails-next',
      height: 'auto',
      scroll: 1,        
      items: {
        width: 125,
        visible: {
          min: 1,
          max: 3
        }
      }
    });     
  }
});